package com.example.ljw.frescowallpaper.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by LJW on 2016/11/17.
 */

public class SortBean {

    /**
     * msg : null
     * res : {"data":[{"ename":"woman","atime":1.291266021E9,"name":"美女","cover":"http://img0.adesk.com/download/5827206894e5cc13d1c9d904","tcname":"美女","korean_name":"미녀","imgs":46590,"desc":"","_id":"4e4d610cdf714d2966000000","uid":null,"sn":1},{"ename":"emotion","atime":1.479360961E9,"name":"情感","cover":"http://img0.adesk.com/download/582301e694e5cc427be1479f","tcname":"情感","korean_name":"감정","imgs":14108,"desc":"","_id":"4ef0a35c0569795756000000","uid":null,"sn":2},{"ename":"landscape","atime":1.291266049E9,"name":"风景","cover":"http://img0.adesk.com/download/582ab36494e5cc3b09ae2fc0","tcname":"風景","korean_name":"풍경","imgs":69336,"desc":"","_id":"4e4d610cdf714d2966000002","uid":null,"sn":3},{"ename":"animation","atime":1.291266057E9,"name":"动漫","cover":"http://img0.adesk.com/download/57fb83d494e5cc73b6f478ce","tcname":"動漫","korean_name":"애니메이션","imgs":87862,"desc":"","_id":"4e4d610cdf714d2966000003","uid":null,"sn":4},{"ename":"quote","atime":1.359601742E9,"name":"文字","cover":"http://img0.adesk.com/download/58255a5794e5cc497cda318c","tcname":"文字","korean_name":"문자","imgs":9010,"desc":"","_id":"5109e04e48d5b9364ae9ac45","uid":null,"sn":5},{"ename":"celebrity","atime":1.359601746E9,"name":"明星","cover":"http://img0.adesk.com/download/5800afb294e5cc4ad4ccc392","tcname":"明星","korean_name":"스타","imgs":19254,"desc":"","_id":"5109e05248d5b9368bb559dc","uid":null,"sn":6},{"ename":"city","atime":1.479360961E9,"name":"城市","cover":"http://img0.adesk.com/download/5827207e94e5cc13d1c9d97b","tcname":"城市","korean_name":"도시","imgs":13058,"desc":"","_id":"4fb47a305ba1c60ca5000223","uid":null,"sn":7},{"ename":"abstract","atime":1.479360961E9,"name":"视觉","cover":"http://img0.adesk.com/download/58134caf94e5cc1969cf86b6","tcname":"視覺","korean_name":"시각","imgs":7784,"desc":"","_id":"4fb479f75ba1c65561000027","uid":null,"sn":8},{"ename":"design","atime":1.479360961E9,"name":"设计","cover":"http://img0.adesk.com/download/580eda8494e5cc27c5b914c5","tcname":"設計","korean_name":"디자인","imgs":7861,"desc":"","_id":"4fb47a195ba1c60ca5000222","uid":null,"sn":9},{"ename":"stuff","atime":1.479360961E9,"name":"物语","cover":"http://img0.adesk.com/download/58290d7494e5cc3458f9ea0a","tcname":"物語","korean_name":"이야기","imgs":21871,"desc":"","_id":"4fb47a465ba1c65561000028","uid":null,"sn":10},{"ename":"cartoon","atime":1.291266067E9,"name":"卡通","cover":"http://img0.adesk.com/download/580b3a2b94e5cc79a34f90e6","tcname":"卡通","korean_name":"만화","imgs":25607,"desc":"","_id":"4e4d610cdf714d2966000004","uid":null,"sn":11},{"ename":"machine","atime":1.297756191E9,"name":"机械","cover":"http://img0.adesk.com/download/581b35a894e5cc6cf1edafd0","tcname":"機械","korean_name":"기계","imgs":23077,"desc":"","_id":"4e4d610cdf714d2966000005","uid":null,"sn":12},{"ename":"man","atime":1.29825154E9,"name":"男人","cover":"http://img0.adesk.com/download/581d220294e5cc1d42f309fc","tcname":"男人","korean_name":"남자","imgs":4094,"desc":"","_id":"4e4d610cdf714d2966000006","uid":null,"sn":13},{"ename":"animal","atime":1.291266042E9,"name":"动物","cover":"http://img0.adesk.com/download/582a7b1494e5cc42a8a3a4ba","tcname":"動物","korean_name":"동물","imgs":18546,"desc":"","_id":"4e4d610cdf714d2966000001","uid":null,"sn":14},{"ename":"game","atime":1.300683934E9,"name":"游戏","cover":"http://img0.adesk.com/download/5825346594e5cc75fa4644f5","tcname":"遊戲","korean_name":"게임","imgs":13748,"desc":"","_id":"4e4d610cdf714d2966000007","uid":null,"sn":15},{"ename":"art","atime":1.479360961E9,"name":"艺术","cover":"http://img0.adesk.com/download/5817092f94e5cc06f346de01","tcname":"藝術","korean_name":"예술","imgs":10405,"desc":"","_id":"4ef0a3330569795757000000","uid":null,"sn":16},{"ename":"sport","atime":1.479360961E9,"name":"运动","cover":"http://img0.adesk.com/download/57b70da694e5cc7792031fc7","tcname":"運動","korean_name":"운동","imgs":7776,"desc":"","_id":"4ef0a34e0569795757000001","uid":null,"sn":17},{"ename":"entertainment","atime":1.479360961E9,"name":"影视","cover":"http://img0.adesk.com/download/582b0d9d94e5cc7bd09d16fa","tcname":"影視","korean_name":"영화와","imgs":17336,"desc":"","_id":"4e58c2570569791a19000000","uid":null,"sn":18}]}
     * code : 0
     */

    @SerializedName("msg")
    private Object msg;
    @SerializedName("res")
    private ResBean res;
    @SerializedName("code")
    private int code;

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }

    public ResBean getRes() {
        return res;
    }

    public void setRes(ResBean res) {
        this.res = res;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class ResBean {
        @SerializedName("data")
        private List<DataBean> data;

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * ename : woman
             * atime : 1.291266021E9
             * name : 美女
             * cover : http://img0.adesk.com/download/5827206894e5cc13d1c9d904
             * tcname : 美女
             * korean_name : 미녀
             * imgs : 46590
             * desc :
             * _id : 4e4d610cdf714d2966000000
             * uid : null
             * sn : 1
             */

            @SerializedName("ename")
            private String ename;
            @SerializedName("atime")
            private double atime;
            @SerializedName("name")
            private String name;
            @SerializedName("cover")
            private String cover;
            @SerializedName("tcname")
            private String tcname;
            @SerializedName("korean_name")
            private String koreanName;
            @SerializedName("imgs")
            private int imgs;
            @SerializedName("desc")
            private String desc;
            @SerializedName("_id")
            private String id;
            @SerializedName("uid")
            private Object uid;
            @SerializedName("sn")
            private int sn;

            public String getEname() {
                return ename;
            }

            public void setEname(String ename) {
                this.ename = ename;
            }

            public double getAtime() {
                return atime;
            }

            public void setAtime(double atime) {
                this.atime = atime;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getTcname() {
                return tcname;
            }

            public void setTcname(String tcname) {
                this.tcname = tcname;
            }

            public String getKoreanName() {
                return koreanName;
            }

            public void setKoreanName(String koreanName) {
                this.koreanName = koreanName;
            }

            public int getImgs() {
                return imgs;
            }

            public void setImgs(int imgs) {
                this.imgs = imgs;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public Object getUid() {
                return uid;
            }

            public void setUid(Object uid) {
                this.uid = uid;
            }

            public int getSn() {
                return sn;
            }

            public void setSn(int sn) {
                this.sn = sn;
            }
        }
    }
}
